package com.example.register1.mapper;

import com.example.register1.domin.BookIndex;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface IndexMapper {



    List<BookIndex> selectAll();


    Integer selectMaxChapter(String stuName, BookIndex book, LocalDate startTime, LocalDate endTime);

    Integer selectMax(String stuName, BookIndex book, LocalDate startTime, LocalDate endTime);
}
